Application-based packing for storing backup data to an object storage

ABSTRACT

Described is a system (and method) for application-based packing for storing backup data within an object storage. More particularly, the system may efficiently pack backup files into objects having a specialized size by accounting for the source and size of the backup file. For example, the system may determine whether backup files associated with a particular application may be stored within individual objects or packed together within a shared object. Accordingly, by accounting for such criteria the system may perform an intelligent allocation of backup data within a cloud-based object storage. The system may be implemented as part of an incremental backup infrastructure. Accordingly, when allocating the backup files amongst objects, the system may also store specialized metadata to preserve the ability to perform a reconstruction of data (e.g. synthetically) as if a full backup was performed.

CLAIM OF PRIORITY

This application claims priority to India Patent Application No. 202141023822, filed May 28, 2021, the contents of which is hereby incorporated by reference in their entirety.

TECHNICAL FIELD

This disclosure relates to cloud-based storage systems, and more particularly, managing backup data stored on a cloud-based object storage.

BACKGROUND

Cloud-based storage systems (or on-demand storage systems) may provide various tools that are crucial for enterprise level network clients. For example, clients may rely on such systems for data protection and recovery services that efficiently back up and recover data in the event of data loss to allow business applications to remain in service or quickly come back up to service. Clients may rely on a third-party cloud-based storages to leverage the benefits associated with such systems (or services) such as cost efficiency (e.g. pay-per-use model) and scalability. These cloud-based storages may implement an object-based storage architecture, and accordingly, client data such as backup data may be stored as objects (or data objects). To provide access to these object storages, the cloud-based providers often make available various storage APIs (Application Programming Interfaces). However, due to the universal nature of these APIs, relying directly on such APIs for backup operations often requires large amounts of storage space to meet certain recovery needs. For example, clients may require backup data to adhere to certain retention requirements, which results in using tools to store data as immutable objects. These tools, however, may handle client data in a uniform manner; thus limiting the ability to implement data-specific storage techniques. Moreover, these tools may not account for data that is stored as part of an incremental backup infrastructure. Accordingly, the native capabilities of cloud-based object storages may lead to an inefficient allocation of storage resources for backup data which in turn increases storage costs. Thus, there is a continued need to efficiently manage storage space when relying on cloud-based object storages for data protection and backup.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated into and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.

FIG. 1 is a block diagram illustrating an example of an operating environment that may be used in conjunction with one or more embodiments of the disclosure.

FIG. 2 is a flow diagram illustrating an example process of categorizing files for storage within shared or individual objects according to one or more embodiments of the disclosure.

FIG. 3 is a diagram illustrating an example of storing backup files within shared and individual objects and storing associated metadata according to one or more embodiments of the disclosure.

FIG. 4 is a flow diagram illustrating an example method of storing backup files within shared or individual objects according to one or more embodiments of the disclosure.

FIG. 5 is a block diagram illustrating an example of a computing system that may be used in conjunction with one or more embodiments of the disclosure.

DETAILED DESCRIPTION

Various embodiments and aspects of the disclosures will be described with reference to details discussed below, and the accompanying drawings will illustrate the various embodiments. The following description and drawings are illustrative of the disclosure and are not to be construed as limiting the disclosure. Numerous specific details are described to provide a thorough understanding of various embodiments of the present disclosure. However, in certain instances, well-known or conventional details are not described in order to provide a concise discussion of embodiments of the present disclosure. Although these embodiments are described in sufficient detail to enable one skilled in the art to practice the disclosed embodiments, it is understood that these examples are not limiting, such that other embodiments may be used and changes may be made without departing from their spirit and scope. For example, the operations of methods shown and described herein are not necessarily performed in the order indicated and may be performed in parallel. It should also be understood that the methods may include more or fewer operations than are indicated. In some embodiments, operations described herein as separate operations may be combined. Conversely, what may be described herein as a single operation may be implemented in multiple operations.

Reference in the specification to “one embodiment” or “an embodiment” or “some embodiments,” means that a particular feature, structure, or characteristic described in conjunction with the embodiment can be included in at least one embodiment of the disclosure. The appearances of the phrase “embodiment” in various places in the specification do not necessarily all refer to the same embodiment.

Described is a system (and method) for application-based packing for storing backup data within an object storage. More particularly, in some embodiments, the system may efficiently pack backup files into objects having a specialized size by accounting for the source and size of the backup file. For example, the system may determine whether backup files associated with a particular application may be stored within individual objects or packed together within a shared object. Accordingly, by accounting for such criteria the system may perform an intelligent allocation of backup data within a cloud-based object storage. In some embodiments, the system may be implemented as part of an incremental backup infrastructure. For example, in order to conserve storage space, the system may perform incremental backups when storing client backup data to the object storage. However, the system may perform a full restore of the client data to a point-in-time of any incremental backup by reconstructing (e.g. synthetically) the client data as if a full backup was performed. Accordingly, when allocating the backup files amongst objects, the system may also store specialized metadata to preserve the ability to perform such a reconstruction.

In some embodiments, such a system may be provided within an operating environment. An example of such an operating environment is further described herein with reference to FIG. 1 . However, in general, embodiments of the disclosure may include and/or be implemented in an operating environment including a cloud-based services environment that may be, or include, a data protection operating environment that includes data protection and backup services. For example, at least some functionality may be provided by, or implemented in connection with, various platforms such as the Data Domain™ data protection platform provided by Dell EMC Corporation (Dell EMC), and associated systems, methods, and components, although use of this particular platform is provided only by way of illustration and is not required.

In some embodiments, the operating environment may take the form of a cloud-based environment. However, embodiments of the disclosure may also be implemented for an on-premises environment, and hybrid environments that include public and private elements, as well as any other type of environment. In addition, any of these cloud environments, or other operating environments, may take the form of an operating environment that is partly, or completely, virtualized. The environment may include one or more host devices that each host one or more applications used by a client of the environment. As such, a particular client may employ, or otherwise be associated with, one or more instances of each of one or more applications. In general, the applications employed by the clients are not limited to any particular functionality or type of functionality.

Any of the devices, including the clients, servers, and hosts, in the operating environment can take the form of software, physical machines, or virtual machines (VM), or any combination thereof, though no particular device implementation or configuration is required for any embodiment. Similarly, storage components (or devices) such as databases, storage servers, storage volumes, storage disks, backup servers, restore servers, backup clients, and restore clients, for example, can likewise take the form of software, physical machines or virtual machines (VM), though no particular component implementation is required for any embodiment. Where VMs are employed, a hypervisor or other virtual machine monitor (VMM) can be employed to create and control the VMs.

As used herein, the term “data” is intended to be broad in scope. Accordingly, data may include data objects (or objects), data segments such as may be produced by data stream segmentation processes, data chunks, data blocks, atomic data, emails, files, contacts, directories, sub-directories, volumes, etc. In addition, the storage of data can employ any suitable storage technique, infrastructure, or hardware (e.g. Solid State Drive (SSD), Hard Disk Drive (HDD)), which may include storage systems provided by a cloud service provider.

More specifically, and with reference to FIG. 1 , shown is a block diagram illustrating an example of an operating environment 100 for managing backup data on an object storage according to one or more embodiments of the disclosure. It should be noted that the components of operating environment 100 may interact via a network, which may be any type of wired or wireless network including a local area network (LAN), a wide area network (WAN), or a direct communication link, or other suitable connection.

As shown, the environment 100 may include a client device 110, a server (e.g. a cloud-based component/gateway and/or a proxy server) 120, and a cloud-based (or on-demand) object storage 150. In general, the server 120 may act as an intermediary between the client device 110 and the object storage 150. In some embodiments, the client device 110 may be associated with a client that is a customer (or subscriber, client, tenant, user, account, etc.) of a backup service or platform (e.g. software/platform-as-a-service) provided by a first entity, as well as a customer of an object storage or service (e.g. software/platform-as-a-service) provided by a different (or second) entity. For example, the server 120 may be provided as part of the backup service provided by the first entity (e.g. Dell EMC), and the object storage 150 may be provided as part of a cloud-based object storage service provided by the different entity (e.g. Amazon S3, Microsoft Azure, IBM Cloud Object Storage, Google Cloud Storage, etc.). In some embodiments, the first entity providing the backup service may also provide (or host) the client device 110 (e.g. as part of a VM).

The client device (or client system) 110 may be associated with client data (or data) that is backed up to the object storage 150. For example, the data to be backed up may originate from one or more applications 115 associated with a client device 110. Each of these applications 115 may create different types of data that may backed up to an object storage 150 using a backup processing as further described herein. The object storage (or object storage system) 150 may include a persistent object storage that implements a storage architecture that manages data as an object(s) 155. For example, each object 155 stored by the object storage 150 may include data, meta-data, and/or a globally unique identifier for the object. In some embodiments, an object may include a unit of storage used by a cloud-based object storage and may include a collection of objects that may be referred to as containers, buckets, and the like (e.g. depending on the cloud-based storage provider). For example, these containers or buckets may be associated with a policy that determines what actions can be performed in association with the objects stored therein. As shown, the object storage 150 may include various storage tiers including storage tier 1 151, and storage tier 2 152. Accordingly, objects 155 (e.g. backed up client data) may be distributed amongst these storage tiers (or classes). For example, each storage tier may have different performance characteristics such as latency, storage capacity, bandwidth, durability, etc., and thus, may be associated with different storage costs. For example, the storage cost may include a time-based cost per unit of storage (e.g. GB/month), retrieval costs, performance costs, etc. For instance, higher performance tiers may be associated with increased costs. For example, storage tier 1 151 may be a standard (or high performance) storage tier that is associated with a first storage cost (or cost per unit of storage), and storage tier 2 152 may be an archival or low-cost storage tier that is associated with a second storage cost (or cost per unit of storage). For example, the storage cost (e.g. GB/month) associated with storage tier 2 152 may be lower than the storage cost associated with storage tier 1 151. Thus, efficiently storing data on a lower tier storage may provide substantial cost savings to a subscriber (e.g. a backup service provider, or user) of the cloud-based storage service. For example, storage tier 1 151 may have a cost of 2.3 cents (or $0.023) per GB/month, while storage tier 2 152 may have a cost of 0.4 cents (or $0.004) per GB/month. Accordingly, re-tiering data to storage tier 2 152 would result in a significant reduction in storage costs. It should be noted that other storage costs (or fees) such as access fees or bandwidth fees may also be reduced using a lower cost storage tier. In addition, although only two storage tiers are shown, additional storage tiers with varying costs are also contemplated.

The client device 110 may use the server 120 as an intermediary for managing client backup data stored on the object storage 150. In some embodiments, the server 120 may include, or work in conjunction with, various backup components (e.g. products) that can perform backup operations across physical and virtual environments. These backup components (e.g. backup application, backup appliance, backup server, etc.) can be implemented in various forms, such as a virtual, physical, or native public cloud appliance to fit the requirements of a particular configuration, and can be used with various types of data protection environments, including public and private object storage clouds. The server 120 may also provide enhanced security by being a single secure point of access to data stored externally on the object storage 150. For example, a client device 110 may implement a certain network configuration (e.g. firewall) that limits external access to the client environment. Such a network configuration may be customized to authorize external access to the client device 110 only by the server 120 and not the object storage 150 directly. In addition, the server 120 may also allow the client device 110 to offload resource intensive data management processing. For example, the server 120 may handle backup-related data processing before storing data into the object storage 150. Accordingly, the server 120 may provide advantages over traditional proxy servers that merely forward data to the object storage 150. In addition, the server 120 may be an application or hardware component remote from the client device 110 (e.g. as part of a cloud-based service). Accordingly, the server 120 may be scalable such that it may perform data operations in parallel for multiple client devices 110 and for multiple object storages 150.

As described, the server 120 may act as an intermediary for communications between the client device 110 and an object storage 150. For example, these communications may include requests by the client device 110 to perform data operations on the object storage 150, which are routed through the server 120. For example, the client device 110 may provide (or send, transmit, etc.) client data (or data) to the server 120 using a server API 125. The server 120 may then initiate (or perform, execute, etc.) a corresponding storage operation directly on the object storage using the storage API 152. In some embodiments, the server API 125 may be a REST API that includes a common set of operations that correspond to various data-related operations on the object storage 150. For example, the server API 125 may include operations allowing a client device 110 to store and recover client data backed up to the object storage 150. For example, the server API 125 may allow the client device 110 to read data from an object storage 150, write data to an object storage 150, copy data within the object storage 150, and various other operations for managing data. In some embodiments, the server API 125 may include operations for deleting and/or re-tiering data (e.g. objects) stored on the object storage 150. For example, a re-tiering operation may move an object from a first storage tier (e.g. storage tier 1 151) to a second (or lower) storage tier (e.g. storage tier 2 152). It should be noted that the same set of operations provided by the server API 125 may be used by the client device 110 irrespective of the type of object storage 150. To provide such object-storage-agnostic functionality, the server 120 may include a function library that includes object-storage-specific functions. Accordingly, the server 120 may use such object-storage-specific functions to interact directly with the object storage 150. For example, the server 120 may initiate data operations directly on the object storage 150 by calling various methods (functions, operations, etc.) of the storage API 152. In some embodiments, the storage API 152 may include only a standard set of storage operations. Accordingly, the server 120 may implement efficient storage and recovery procedures as further described herein.

As described, the server 120 may manage backed-up client data stored on the object storage 150. Accordingly, the server 120 may include a data manager 175. The data manager (or manager) 175 may coordinate (or manage, orchestrate, execute, automate, etc.) the initiation (or execution) of storage and recovery operations on the object storage 150. In some embodiments, the data manager 175 may provide a user interface that allows a user to perform and configure various settings associated with managing backup data. For example, the user interface may allow a user to configure (e.g. input) various settings such as default expiration times for backups and/or data stored as part of a backup. In addition, the data manager 175 may direct (or control, initiate, etc.) other components of the operating environment 100 to perform various processes as further described herein.

The server 120 may also include a packing engine 177 (or manager, component, etc.). The engine 177 may work in conjunction with, or be part of, the data manager 175. The engine 177 may analyze client data to be backed up and determine whether backup files should be stored within a shared object or within their own individual objects. In addition, the engine 177 may perform a processing to determine an application associated with client data (e.g. files to be backed up) and various configuration settings for these applications. For example, a backup setting for a particular application may indicate that backup files associated with the application are to be stored within individual objects. In addition, the engine 177 may update metadata associated with objects 155 and/or backups that is used to manage such expirations.

To further improve potential storage and recovery efficiency, the server 120 may leverage a specialized metadata database 160. The metadata database 160 may be maintained by the server 120. The metadata database 160 may include an embedded database. For example, the metadata database 160 may be created by the server 120 using a particular software library (e.g. SQLite library). The metadata database 160 may reside on the object storage 150, the server 120, and/or another component (e.g. cloud-based component) such that it is accessible by the server 120. For example, when the metadata database 160 resides on the object storage 150, the server 120 may access (e.g. update) the metadata database 160 by accessing the storage API 152. In addition, portions of the metadata database may be cached on a memory (or storage) of the server 120 to further improve performance of various backup or restore operations.

The metadata database 160 may store metadata associated with client data stored on the client device 110 and/or backed up to the object storage 150. The metadata database 160 may also store various types of backup information associated with the backed-up client data and/or backups performed.

For example, the metadata database 160 may include a data catalog (or table, database, index, etc.) 165. The data catalog 165 may store information associated with the data stored as part of each backup. For example, the information may include a point-in-time the client data was backed up, a storage location of the backed-up client data (including storage tier), an object ID to which the backed-up client data is stored, data offsets, the size of data, whether the data corresponds to live data, and various other types of information. Accordingly, a data catalog 165 (or instance thereof) may be updated after each backup is performed. In some embodiments, the data catalog 165 may be maintained for a particular account (e.g. user, client, customer, etc.) associated with the object storage 150. The data catalog 165 may also store various types of backup information associated with the backed-up client data.

The metadata database 160 may include an object catalog (or table, database, index, etc.) 166 that stores information associated with the objects 155. For example, the information may include the point-in-time the object was created, data such as data IDs of backup data stored by the object, data offsets of data stored within the object, a storage location of the object (e.g. storage tier), and other types of information.

The metadata database 160 may also include a backup catalog (or index, table, database, etc.) 167 that stores information associated with each backup performed to the object storage 150. For example, the backup catalog 167 may include backup times specifying when each backup was performed, a backup expiration time, a type of backup (e.g. full or incremental), and any other information that may be associated with performing a backup. In addition, the backup catalog 167 may also include a list of objects required to perform a full restore to each of the backup times.

FIG. 2 is a flow diagram illustrating an example process of categorizing files for storage within shared or individual objects according to one or more embodiments of the disclosure. Process 200 may use processing logic, which may include software, hardware, or a combination thereof. For example, process 200 may be performed by a system including one or more components described in operating environment 100 (e.g. server 120, manager 175, etc.).

In 202, the system (e.g. server 120) may receive a request to back up files. For example, the system may receive a request (or instruction) to backup files stored on a client device (e.g. client device 110). In 204, the system may categorize the files to be backed up based on their size (or file size). The system may categorize these files based on predetermined size (or threshold size). In some embodiments, the predetermined size may be based on a specialized (or near optimal) size for storing data and/or objects when performing data operations. For example, if the system stores files that are too large, processing performance may be hindered based on the amount of data required to transfer and/or traverse. However, if the system stores files that are too small, processing performance may suffer from the increased number of files required to be read/written for a given amount of data and/or the associated I/O requirements for such a large number files. As shown, in some embodiments, the system may set the predetermined size to approximately 4 MB, which is a specialized size for organizing data within a deduplication storage system. Accordingly, for files that are categorized as having a file size greater than or equal to 4 MB, in 206, the system writes each of these files as an individual object.

In 207, the system may determine an application associated with each of the files. In some embodiments, the system may determine the associated application from information retrieved from the client device. For example, the system may determine a file location (e.g. directory) of the file to be backed up. For instance, an application may store associated file within a particular directory. As another example, the system may determine the file name of the file to be backed up. For instance, files associated with a particular application may have a particular file name prefix. As yet another example, the system may determine a file extension (or file type) of the file to be backed up. For instance, files may have an application-specific file extension. For example, the file extension may be used to determine file types that may include documents (doc, txt, pdf, etc.), multimedia (e.g. mpg, mp3, etc.), photos (e.g. jpg, gif, etc.), or any other file type that may be backed up.

Based on the derived information, the system may determine an application that is associated with (e.g. source) of the file to be backed up. The system may then determine whether backup files associated with the particular application may be stored within shared objects, or whether the backup files are to be stored within their own objects. For example, a particular application may require certain recovery performance and/or efficiency, and thus, its associated backup file may be stored on their own individual objects. As another example, certain application may store relatively large backup files, and thus, the system may forego attempting to categorize such files based on size and directly store the backup files within individual objects. In addition, in some embodiments, the system may determine an application associated with a particular file to backup based on metadata associated with the file. For example, the system may maintain metadata to indicate the application to which a file is associated.

As shown in this example, the system may determine an associated application for files that are categorized as having a file size less than 4 MB. However, in some embodiments, the system may determine an application for files prior to determining a size of each of the files. For example, when performing a backup procedure, the system may determine that a batch of files are stored in a particular directory, and thus, associated with a particular application for which the backup files are to be stored with their own objects. In such a scenario, the system may forgo the process of categorizing files based on file size.

In 208, the system determines file combinations to perform a file packing. As described, the system may group files that are associated with the same application together within the same shared object. Accordingly, performing such a grouping may improve data reading, processing, and recovery operations by collocating related data. In some embodiments, the system may group backup files such that shared objects are a predetermined object size. For example, the system may group (e.g. pack, combine, arrange, etc.) files together such that the combined (or total) file size is the group is approximately 4 MB. In some embodiments, the system may determine file combinations in which the combined group of files have a total size within a range of the predetermined size (e.g. within a range of 4 MB). Accordingly, in 210, the system may write (or store) each of these combinations of files as a shared object. Irrespective of whether a backup of the files (i.e. backup data) is stored as part of an individual object or a shared object, in 212, the system may store metadata associated with the performing a backup. In some embodiments, this metadata may be stored as part of a metadata database (e.g. metadata database 160), which may include metadata stored as part of a data catalog (e.g. data catalog 165), object catalog (e.g. object catalog 166), and/or backup catalog (e.g. backup catalog 167). An example of application-based packing of backup files and the associated metadata that may be stored is further described with reference to FIG. 3 .

Continuing with the process 200, after the system has written (e.g. stored) a backup of the files to the object storage (e.g. performed a backup of the file), the system may reallocate objects within the object storage to reduce storage costs. In particular, in 214, the system may re-tier the individual objects by moving individual objects to a lower cost storage tier. As described, the system may re-tier individual objects without unduly limiting the ability to perform full synthetic backups by storing specialized metadata. Accordingly, in 216, the system may receive a request to restore files, and in response, in 218, the system may reference the metadata. For example, the system may reference the metadata to determine which individual objects (in any) need to be retrieved from a lower storage tier to perform a restore. Thus, in 220, the system may perform a full restore of the files. For example, the system may retrieve backup data stored by individual objects from a lower storage tier as part of performing the restore. In other words, the system maintains the ability to perform a full restore (e.g. provide all of the necessary data to fully restore the files) despite performing incremental backups and re-tiering backup data within an object storage.

FIG. 3 is a diagram 300 illustrating an example of storing backup files within shared and individual objects and storing associated metadata according to one or more embodiments of the disclosure.

As shown in diagram 300, the client device 110 at a first point-in-time stores Files A, B, C, D and E. In this example, files A, B, and C are associated with Application 1 115A, and files D, and E are associated with Application 2 115B. Accordingly, as part of the first backup 310, which in this example is an incremental backup, the server stores the files within newly created objects 155A, 155B, 155C and 155D of the object storage 150. In other words, objects 155A, 155B, 155C, and 155D may be associated with the first backup 310 and/or the first point-in-time. As described, the server may perform a grouping (or packing, combining, etc.) of files based on a predetermined size for an object 155, which may be a specialized for storage and processing efficiency. In some embodiments, the predetermined object size may be set to 4 MB (or approximately 4 MB) as shown in this example. Accordingly, the server may determine a combination of files that when grouped together are within a range of (or approximately equal to) the 4 MB. Thus, the server may attempt to pack (group, arrange, organize, etc.) files that are smaller than 4 MB into an object 155 such that object stores approximately 4 MB of data. In addition, as described, the system may account for the application associated with the files to be backed up. In this example, the system may determine that backup files associated with Application 1 115A may be stored within shared objects, but backup files associated with Application 2 115B are to be stored within their own individual objects. Accordingly, the system may pack files associated with the same application into the same object. For example, the server may store (e.g. pack) files A and C, which are approximately 2 MB each in size and associated with the same application (e.g. Application 1 115A), within shared object 155A. In contrast, the system may store file B, which is approximately 6 MB size (e.g. larger than the predetermined object size), within its own individual object 2 155B. In addition, the system may store each of files D, and E within their own individual objects 3 155C, and 4 155D respectively. As shown, despite file E being only 2 MB, and therefore, less than the predetermined object size, the system stores file E within its own object 4 155D based on a determination that files associated with Application 2 115B are to be stored within their own objects.

As noted, object 155A would be considered a shared object since it stores a group of files, and objects 155B, 155C and 155D would be considered individual objects as they each store a single file.

As described, the server may store metadata associated with the backed up files as part of a metadata database. In particular, the metadata associated with the backed up files may be stored as part of a data catalog 165. As shown, the data catalog 165 may store various types of information including a file identifier (ID) 351, an object identifier (ID) 352, an offset 353, the size 354 of the file, and whether the file is live 355.

More specifically, in the example of diagram 300, the server stores entries 381-385 that correspond to files A-E respectively. As shown, each of the entries 381-385 identifies the object (e.g., via object ID 352) in which the corresponding file (e.g., identified by file ID 352) is stored. Files A and C are both stored in object 1 155A, and accordingly, as shown in the data catalog 165, entry 383 specifies a 2 MB offset for file C, which corresponds to the size of file A (e.g. 2 MB). Accordingly, when retrieving file C, the server may use the offset to efficiently locate file C within object 1 155A. In addition, each of these entries may be associated with the first backup 310 and/or a point-in-time of the first backup 310 (e.g. a first point-in-time). For example, although not shown, the data catalog 165 may also include a backup identifier (ID) field indicating that files A-E were backed up as part of the first backup 310. For instance, entries 381-385 may each store a value (e.g. 54363) that corresponds to the first backup 310 (e.g. as shown in the backup catalog 167).

As described, the server may also store metadata associated with the objects as part of a metadata database. In particular, the metadata associated with the objects may be stored as part of an object catalog 166. As shown, the object catalog 166 may store various types of information including an object identifier (ID) 352, an identifier for a storage location (or Tier ID) 372, and a object length 373.

More specifically, in the example of diagram 300, after a re-tiering is preformed the server stores entries 375-378 that correspond to Objects 1, 2, 3, and 4 respectively. As shown, each of the entries 375-378 identifies the object (e.g. via object ID 351), and lengths of the object or total size of the files stored therein (via the object length 373). In addition, the storage location (or Tier ID) for entries 376, 377, and 378 indicate that corresponding Objects 2, 3, and 4 are stored in storage tier 2 since they are individual objects (e.g. only store a single file), and thus, are re-tiered to storage tier 2. In contrast, entry 375 indicates that corresponds to Object 1 is stored in storage tier 1 since it is a shared object, and thus, not subject to re-tiering.

Additionally, as described, the server may store metadata associated with each backup as part of the metadata database. In particular, the metadata associated with each backup may be stored as part of a backup catalog 167. For example, the server may update the backup catalog 167 in response to each backup performed. As shown, the backup catalog 167 may include a backup identifier (ID) 361, a backup time 362, backup expiration 363, backup type 364, and a referenced object list 365. The backup ID 361 may uniquely identify the backup performed. The backup time 362 may be a time associated with the performed backup. For example, the backup time 362 may be a point-in-time of when the backup was performed. The backup expiration 363, which may be user-configurable, may indicate when the data (or objects) associated with a backup is deemed expired (e.g. for deletion). The backup type 364 may indicate whether the backup performed was a full or incremental backup. The referenced object list 365 may include a list of objects referenced by a particular backup. For example, the objects referenced by a particular backup may indicate which objects are required to perform a full restore (or recovery) to the point-in-time of the corresponding backup.

More specifically, as shown in the example of diagram 300, in response to performing the first backup 310, the server may update the backup catalog 167 to include (or add, create, etc.) entry 391, which is associated with the first backup 310. As shown, entry 391 includes a unique identifier “54363” as the backup ID 361. In some embodiments, the backup ID 361 may be linked to (or referenced by, associated with, etc.) entries in the data catalog 165 that correspond to the first backup 310 (e.g. entries 381-384). As shown, entry 391 indicates that the first backup 310 expires after 6 months (e.g. expiration 363 shown as 2021-09-15T23:59, which is 6 months after the backup time 362 shown as 2021-03-15T23:59). Entry 391 also indicates that the first backup 310 was an incremental backup (e.g. backup type 364 specifies incremental backup). In addition, entry 391 includes objects 1, 2, 3, and 4 (e.g. objects 155A, 155B, 155C and 155D) as the referenced object list 365. In other words, to perform a full restore (or recovery) of the files (or client files) to the point-in-time associated with the first backup 310 (e.g. restoration of files A, B, C, D, and E), the referenced object list 365 indicates that the server would need to retrieve the data stored in objects 1, 2, 3, and 4.

Accordingly, the server may pack data into objects when performing a backup and store specialized metadata allowing the server to leverage various storage tiers of an object storage.

FIG. 4 is a flow diagram illustrating an example method of storing backup files within shared or individual objects according to one or more embodiments of the disclosure. Process 400 may use processing logic, which may include software, hardware, or a combination thereof. For example, process 400 may be performed by a system including one or more components described in operating environment 100 (e.g. server 120, manager 175, etc.).

In 401, the system (e.g. server 120) may receive a request to back up files stored on a client device (e.g. client device 110) to a cloud-based object storage (e.g. object storage 150). As described, in some embodiments, the object storage may include a first storage tier (e.g. storage tier 1 151) associated with a first storage cost and a second storage tier (e.g. storage tier 2 152) associated with a second storage cost less than the first storage cost. For example, the first storage tier may have a cost of 2.3 cents (or $0.023) per GB/month, while the second storage tier may have a cost of 0.4 cents (or $0.004) per GB/month.

In 402, the system may identify, amongst the files stored on the client device, a first set of files that are each associated with a first application, and a second set of files that are each associated with a second application. For example, with reference to the example of diagram 300, the system may identify files A, B, and C (e.g. a first set of files) that are each associated with Application 1 115A (e.g. first application), and files D, and E (e.g. a second set of files) that are each associated with Application 2 115B (e.g. second application).

In some embodiments, the system may determine the first set of files are associated with a first attribute from information retrieved from the client device. Accordingly, in such embodiments, the first set of files may be identified based on the determination the first set of files are associated with the first attribute.

Similarly, in some embodiments, the system may determine the second set of files are associated with a second attribute from the information retrieved from the client device. Accordingly, in such embodiments, the second set of files may be identified based on the determination the second set of files are associated with the second attribute.

In some embodiments, the information retrieved from the client device may include at least one of a file location, a file name, and a file type.

In 403, the system may determine a backup of each file of the first set of files associated with the first application are to be stored within their own objects. In some embodiments, such a determination may include retrieving a backup configuration setting indicating backup files associated with the first application are to be stored within their own objects.

In some embodiments, in 404, the system may also determine the backup of at least some of the files from the second set of files associated with the second application can be stored within shared objects. In some embodiments, such a determination may include retrieving a backup configuration setting indicating backup files associated with the second application may be stored within shared objects.

In 405, the system may identify one or more combination of files from at least some of the second set of files that when grouped together are within a range of a predetermined object size. In some embodiments, the predetermined object size may be approximately 4 MB. Continuing with the example of diagram 300, the system may determine the combination of files A, and C are within a range of a predetermined object size (e.g. 4 MB).

In 406, the system may perform a backup of the files stored on the client device by storing the backup of each file of the first set of files as an individual object, and a backup of each of the combinations of files from the second set of files together as a shared object. Continuing with the example of diagram 300, the system stores a backup of files D, and E (e.g. first set of files) within individual objects 3 155C, and 4 155D, and a backup of the combination of files A, and C within shared object 1 155A.

In some embodiments, the system may also account for the size of the files to backup. Accordingly, in some embodiments, the system may identify, amongst the second set of files, a third set of files that are each larger than or equal to the predetermined object size, and a fourth set of files that are each smaller than the predetermined object size. Accordingly, in such embodiments, the one or more combination of files from at least some of the second set of files may be identified from the fourth set of files. In addition, in such embodiments, performing the backup may further include storing the backup of each file of the third set of files as an individual object. Continuing with the example of diagram 300, the system may identify file B (e.g. a third set of files) as being larger (e.g. 6 MB) than the predetermined object size (e.g. 4 MB), and files A, and C (e.g. a fourth set of files) as being smaller (e.g. each 2 MB) than the predetermined object size. Accordingly, files A, and C (e.g. at least some of the second set of files) may be identified from the fourth set of files. In addition, the backup may further include storing file B (e.g. third set of files) within individual object 2 155B.

FIG. 5 shows a block diagram of an example of a computing system that may be used in conjunction with one or more embodiments of the disclosure. For example, computing system 500 (or system, or server, or computing device, or device) may represent any of the devices or systems (e.g. server 120, client device 110, object storage 150, etc.) described herein that perform any of the processes, operations, or methods of the disclosure. Note that while the computing system 500 illustrates various components, it is not intended to represent any particular architecture or manner of interconnecting the components as such details are not germane to the present disclosure. It will also be appreciated that other types of systems that have fewer or more components than shown may also be used with the present disclosure.

As shown, the computing system 500 may include a bus 505 which may be coupled to a processor 510, ROM (Read Only Memory) 520, RAM (or volatile memory) 525, and storage (or non-volatile memory) 530. The processor(s) 510 may retrieve stored instructions from one or more of the memories 520, 525, and 530 and execute the instructions to perform processes, operations, or methods described herein. These memories represent examples of a non-transitory computer-readable medium (or machine-readable medium, a computer program product, etc.) containing instructions (or program code) which when executed by a processor (or system, device, etc.), cause the processor to perform operations, processes, or methods described herein.

As referred to herein, for example, with reference to the claims, a processor may include one or more processors. Moreover, the one or more processors 510 may perform operations in an on-demand or “cloud computing” environment or as a service (e.g. within a “software as a service” (SaaS) implementation). Accordingly, the performance of operations may be distributed among the one or more processors 510, whether residing only within a single machine or deployed across a number of machines. For example, the one or more processors 510 may be located in a single geographic location (e.g. within a home environment, an office environment, or a server farm), or may be distributed across a number of geographic locations. The RAM 525 may be implemented as, for example, dynamic RAM (DRAM), or other types of memory that require power continually in order to refresh or maintain the data in the memory. Storage 530 may include, for example, magnetic, semiconductor, tape, optical, removable, non-removable, and other types of storage that maintain data even after power is removed from the system. It should be appreciated that storage 530 may be remote from the system (e.g. accessible via a network).

A display controller 550 may be coupled to the bus 505 in order to receive display data to be displayed on a display device 555, which can display any one of the user interface features or embodiments described herein and may be a local or a remote display device. The computing system 500 may also include one or more input/output (I/O) components 565 including mice, keyboards, touch screen, network interfaces, printers, speakers, and other devices. Typically, the input/output components 565 are coupled to the system through an input/output controller 560.

Program code 570 may represent any of the instructions, applications, software, libraries, toolkits, modules, components, engines, units, functions, logic, etc. as described herein (e.g. server 120, data manager 175, etc.). Program code 570 may reside, completely or at least partially, within the memories described herein (e.g. non-transitory computer-readable media), or within a processor during execution thereof by the computing system. Program code 570 may include both machine code, such as produced by a compiler, and files containing higher-level or intermediate code that may be executed by a computing system or other data processing apparatus (or machine) using an interpreter. In addition, program code 570 can be implemented as software, firmware, or functional circuitry within the computing system, or as combinations thereof. Program code 570 may also be downloaded, in whole or in part, through the use of a software development kit or toolkit that enables the creation and implementation of the described embodiments.

Moreover, any of the disclosed embodiments may be embodied in various types of hardware, software, firmware, and combinations thereof. For example, some techniques disclosed herein may be implemented, at least in part, by non-transitory computer-readable media that include program instructions, state information, etc., for performing various methods and operations described herein.

It should be noted that references to ordinal numbers such as “first,” “second,” “third,” etc., may indicate an adjective for an element (e.g. any noun in the application). The use of ordinal numbers does not necessarily imply or create any particular ordering of the elements nor limit any element to being only a single element unless expressly disclosed, such as by the use of the terms “before,” “after,” “single,” and other such terminology. Rather, the use of ordinal numbers is to distinguish between the elements. By way of an example, a first element is distinct from a second element, and the first element may encompass more than one element and succeed (or precede) the second element in an ordering of elements. In addition, the use of the term “or” indicates an inclusive or (e.g. and/or) unless otherwise specified. For example, the phrase “at least one of x, y, or z” means any one of x, y, and z, as well as any combination thereof. In addition, the term “based on” is used to describe one or more factors that affect a determination. These terms do not foreclose additional factors that may affect a determination. For example, the phrase “determining A based on B” includes B being a factor that affects the determination of A, and does not foreclose the determination of A from also being based on C. However, in other instances, A may be determined based solely on B, such as by the use of the terms “only,” “solely,” and other such terminology. In addition, the term “approximately” or “substantially” may be used herein and may be interpreted as “as nearly as practicable,” “within technical limitations,” and the like.

Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. It is intended that the specification and examples be considered as examples only, with a true scope and spirit of the embodiments being indicated by the claims. 

What is claimed is:
 1. A system comprising: one or more processors; and a non-transitory computer-readable medium storing a plurality of instructions, which when executed, cause the one or more processors to: receive a request to back up files stored on a client device to an object storage; identify, amongst the files stored on the client device, a first set of files that are each associated with a first application, and a second set of files that are each associated with a second application; determine a backup of each file of the first set of files associated with the first application are to be stored within their own objects; identify one or more combination of files from at least some of the second set of files that when grouped together are within a range of a predetermined object size; and perform a backup of the files stored on the client device by storing the backup of each file of the first set of files as an individual object on the object storage, and a backup of each of the combinations of files from the second set of files together as a shared object on the object storage.
 2. The system of claim 1, wherein the plurality of instructions, when executed, further cause the one or more processors to: identify, amongst the second set of files, a third set of files that are each larger than or equal to the predetermined object size, and a fourth set of files that are each smaller than the predetermined object size, wherein the one or more combination of files from at least some of the second set of files are identified from the fourth set of files, and performing the backup further includes storing the backup of each file of the third set of files as an individual object.
 3. The system of claim 1, wherein the plurality of instructions, when executed, further cause the one or more processors to: determine the backup of at least some of the files from the second set of files associated with the second application can be stored within shared objects.
 4. The system of claim 1, wherein the plurality of instructions, when executed, further cause the one or more processors to: determine the first set of files are associated with a first attribute from information retrieved from the client device, wherein the first set of files are identified based on the determination the first set of files are associated with the first attribute.
 5. The system of claim 4, wherein the plurality of instructions, when executed, further cause the one or more processors to: determine the second set of files are associated with a second attribute from the information retrieved from the client device, wherein the second set of files are identified based on the determination the second set of files are associated with the second attribute.
 6. The system of claim 5, wherein the information retrieved from the client device includes at least one of a file location, a file name, and a file type.
 7. The system of claim 6, wherein determining the backup of each file of the first set of files associated with the first application are to be stored within their own objects includes: retrieving a backup configuration setting indicating backup files associated with the first application are to be stored within their own objects.
 8. The system of claim 1, wherein the predetermined object size is approximately 4 MB.
 9. A method comprising: receiving a request to back up files stored on a client device to an object storage; identifying, amongst the files stored on the client device, a first set of files that are each associated with a first application, and a second set of files that are each associated with a second application; determining a backup of each file of the first set of files associated with the first application are to be stored within their own objects; identifying one or more combination of files from at least some of the second set of files that when grouped together are within a range of a predetermined object size; and performing a backup of the files stored on the client device by storing the backup of each file of the first set of files as an individual object on the object storage, and a backup of each of the combinations of files from the second set of files together as a shared object on the object storage.
 10. The method of claim 9, further comprising: identifying, amongst the second set of files, a third set of files that are each larger than or equal to the predetermined object size, and a fourth set of files that are each smaller than the predetermined object size, wherein the one or more combination of files from at least some of the second set of files are identified from the fourth set of files, and performing the backup further includes storing the backup of each file of the third set of files as an individual object.
 11. The method of claim 9, further comprising: determining the backup of at least some of the files from the second set of files associated with the second application can be stored within shared objects.
 12. The method of claim 9, further comprising: determining the first set of files are associated with a first attribute from information retrieved from the client device, wherein the first set of files are identified based on the determination the first set of files are associated with the first attribute.
 13. The method of claim 12, further comprising: determining the second set of files are associated with a second attribute from the information retrieved from the client device, wherein the second set of files are identified based on the determination the second set of files are associated with the second attribute.
 14. The method of claim 13, wherein the information retrieved from the client device includes at least one of a file location, a file name, and a file type.
 15. A computer program product comprising a non-transitory computer-readable medium having a computer-readable program code embodied therein to be executed by one or more processors, the program code including instructions to: receive a request to back up files stored on a client device to an object storage; identify, amongst the files stored on the client device, a first set of files that are each associated with a first application, and a second set of files that are each associated with a second application; determine a backup of each file of the first set of files associated with the first application are to be stored within their own objects; identify one or more combination of files from at least some of the second set of files that when grouped together are within a range of a predetermined object size; and perform a backup of the files stored on the client device by storing the backup of each file of the first set of files as an individual object on the object storage, and a backup of each of the combinations of files from the second set of files together as a shared object on the object storage.
 16. The computer program product of claim 15, wherein the program code includes further instructions to: identify, amongst the second set of files, a third set of files that are each larger than or equal to the predetermined object size, and a fourth set of files that are each smaller than the predetermined object size, wherein the one or more combination of files from at least some of the second set of files are identified from the fourth set of files, and performing the backup further includes storing the backup of each file of the third set of files as an individual object.
 17. The computer program product of claim 15, wherein the program code includes further instructions to: determine the backup of at least some of the files from the second set of files associated with the second application can be stored within shared objects.
 18. The computer program product of claim 15, wherein the program code includes further instructions to: determine the first set of files are associated with a first attribute from information retrieved from the client device, wherein the first set of files are identified based on the determination the first set of files are associated with the first attribute.
 19. The computer program product of claim 18, wherein the program code includes further instructions to: determine the second set of files are associated with a second attribute from the information retrieved from the client device, wherein the second set of files are identified based on the determination the second set of files are associated with the second attribute.
 20. The computer program product of claim 19, wherein the information retrieved from the client device includes at least one of a file location, a file name, and a file type. 